package com.example.wangyongdong.bearsqlitedemo.Interface;

import com.example.wangyongdong.bearsqlitedemo.entity.CarEntity;

import java.util.List;

/**
 * Created by wangyongdong on 2017/4/13.
 */

public interface TableCarOperation {
    void addCar (CarEntity car);
    void removeCar(int id);
    void updateCar(CarEntity car);
    List<CarEntity> queryCars ();
    CarEntity querySelectedCar();
    void changeSelectedCar(int id);
    void changeSelectedCar(CarEntity newSelectedCar);
}
